/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019.
 * Description: what to deal with after checking failed in HCFI enforcing mode.
 * Author: tengfei
 * Create: 2019-05-11
 */

#include <linux/kernel.h>
#include <linux/bug.h>

void rtos_hcfi_report(void)
{
	pr_err("Function indirect call exception detected by CFI.\n");
	BUG();
}
EXPORT_SYMBOL(rtos_hcfi_report);
